package com.example.togethermove.base;

import android.os.Bundle;

import androidx.fragment.app.Fragment;


public abstract class Basefragmenttwo extends Fragment {
    public void onCreate(Bundle savedInstanceState) {
        //requestWindowFeature(Window.FEATURE_NO_TITLE);
        super.onCreate(savedInstanceState);
        //设置布局内容
//        setContentView(getLayoutId());
        //初始化控件
//        initViews(savedInstanceState);
        //初始化数据
        initData();
        //初始化事件
        initListener();
    }


    public abstract int getLayoutId();

    protected abstract void initViews(Bundle savedInstanceState);

    protected abstract void initData();

    protected abstract void initListener();





}
